package com.example.demo6_.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo6_.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.data.jpa.repository.JpaRepository;

@Mapper
public interface UserMapper extends BaseMapper<User> {
    public User findNameAndPassword(@Param("userName") String userName, @Param("userPassword")  String userPassword);

}
